package com.hejing.面向对象特征之二_继承.初识继承;

/**
 * ClassName: KidsTest
 * Package: com.hejing.面向对象特征之二_继承
 * Description:
 *
 * @Author: HeJing
 * @Create: 2023-03-25 20:11
 * @Version: 1.0
 */
public class KidsTest {
    public static void main(String[] args) {
        Kids kid = new Kids();
        kid.setSex(1);
        kid.setSalary(100);
        kid.setYearsOld(12);

    }
}

























